Sometimes, it is desirable to prevent scrolling on the main body of the app. This can be accomplished by adding the following to the window.onload function in your app.js file in PhoneGap.
window.onload = function() { addEvent(document, "touchmove", function(e) { e.preventDefault(); }); // the rest of your onload code can go here };