You could try to apply gravity only when
the ball is stop moving.