adjust animation duration