modified length of animation