Fixed issue that prevented native page scrolling on touch devices when swiping over an iscroll element


Hi,
Great library you have here. Thought I might contribute a fix/feature ...

This use case typically occurs when you have a horizontally iscroll'd element, but you want to have native vertical touch scrolling of the page. Previously iscroll would capture the event and preventDefault, thus preventing the native action to occur.

Here's the email thread regarding this issue: https://groups.google.com/d/topic/iscroll/qusOnwII_dU/discussion.

I've implemented it such that it will support BOTH vertical and horizontal native page scrolling. It only takes effect on touch devices so it won't affect desktop. I've allow taken precaution to make sure this doesn't affect the zoom functionality.

I've tested on iPhone (iOS 4 & 5), iPad (iOS 5), and Android 4 (on both phone and tablet).

Thanks!