changing the animation delay