Added a callback for vertical swipes.