refactored working swipe functions
Merge pull request #10 from MissingLabel/workin_swipe_function

refactored working swipe functions