diff --git a/Demo/demo.html b/Demo/demo.html
index 333c7e6..9147ef0 100644
--- a/Demo/demo.html
+++ b/Demo/demo.html
@@ -377,6 +377,9 @@
sectionContainer: "section",
responsiveFallback: 600,
loop: true
+ });
+ $('body').bind('touchmove', function (ev) {
+ ev.preventDefault();
});
});
diff --git a/jquery.onepage-scroll.js b/jquery.onepage-scroll.js
index 71c75ba..d16222d 100644
--- a/jquery.onepage-scroll.js
+++ b/jquery.onepage-scroll.js
@@ -48,7 +48,7 @@
if (touches && touches.length) {
startX = touches[0].pageX;
startY = touches[0].pageY;
- $this.bind('touchmove', touchmove);
+ $this.unbind('touchmove', touchmove).bind('touchmove', touchmove);
}
}
diff --git a/onepage-scroll.css b/onepage-scroll.css
index 3d4415f..432e1b3 100644
--- a/onepage-scroll.css
+++ b/onepage-scroll.css
@@ -1,6 +1,5 @@
body, html {
margin: 0;
- overflow: hidden;
-webkit-transition: opacity 400ms;
-moz-transition: opacity 400ms;
transition: opacity 400ms;
@@ -69,7 +68,7 @@ body, .onepage-wrapper, html {
}
.disabled-onepage-scroll, .disabled-onepage-scroll .wrapper {
- overflow: auto;
+
}
.disabled-onepage-scroll .onepage-wrapper .section {