fixed swipe script
Merge pull request #2241 from isocolsky/fixed_swipe

ACK