Can customize the animation duration.