Change the animation time