Smooth Trans Focus function