Fix/scrolling

Bug #2624.  I removed everything that I could find that was making the browser think the document was bigger than it actually was.  Also it scrolls to the top-left if you resize the window when there are no scroll bars.