Uses ease as the animation function