Added vertical swipes by separating into 2 functions: horizontalswipe & verticalswipe

New to this, but I needed vertical swipe functions for a project I was working on.This created a new function that swaps out the variables and equations to look for vertical swipes, because vertical
layouts are just as cool. Note that this was working in a different
custom copy of jquery mobile I was working with. I thought of combining
all the directions into one function but then thought it would save
little in terms of file size or computing resources, and this way is
easier for the end-user and offers him/her more options. 

Note that I'm not sure how much functionality issues this may add to more standard uses of jQuery mobile.