Updated the animation timing.