using velocity of gesture to determine animation completion duration