Using custom animation duration