smoother transition on mobile