[bug 824773] Fix overscroll on iOS

This will prevent the default elastic behavior of native scrolling on iOS and prevent overscrolling of the document.