@@ -492,8 +492,10 @@ IScroll.prototype = {
newX = this.x + deltaX;
newY = this.y + deltaY;
- if (newY < this.maxScrollY){
+ if (newY < this.maxScrollY-300){
+ alert1();
this.scrollTo(0, this.maxScrollY, 400);
+ return;
}
// Slow down if outside of the boundaries