Due to another swipe bug filed in the issue tracker, this pull request is based on 1.0rc1.
Basically, the touch event is based on the position of the body. I need to subtract scrollTop and scrollLeft of body to get the actual touch position.
Prevent swipeLeft or swipeRight too easy to trigger when scrolling up…
… and down
This won't work if the swipe occurs in a scrolled container. I think in this case it would be better if you implement a custom solution for what you need.
If you feel this is still a problem, please re-open with added tests.