animation duration fix