Smoothed the animation for desktop