change time of animation