A better method for handlingUp and Down gestures.