Changing the animation duration so it follows the velocity/momentum of the gesture