Sure, if you calculating a swipe up and down (y axis) setup 2 global variables. StartTouch and EndTouch
On Touch Start set StartTouch to touch.y
On Touch End set EndTouch to touch.y
If StartTouch > EndTouch then
The user swiped up
Else
The User Swiped down
Let me know if that makes sense.