Not sure how you could set/reset
horizontalDistanceThreshold because you would have to have both values active at the same time.
Without thinking anything through in detail, how about:
1. Difficult
- leave
horizontalDistanceThreshold for JQM to enable normal vertical scrolling
- setup
your_Own_Scroll_DistanceThreshold to capture swipeleft/right and trigger a change in your page navigation.
2. Medium
- try using the
pagination plugin.
- this would mean you had to setup standalone .pages for "projects", "about"...
- which the plugin would let you swipe in between
- CON: you could keep the footer persistent but not the header, which would also transition.
3. Easy
- wait for my
plugin to finish (will be a while)
- make your header&footer global, make #pages a fullwidth panel and turn your class .pages elements into JQM pages.
- trigger changePage on swipeleft/right