use velocity in animations