Adjust animation duration