Bugfixes

Fixed some bugs with the scrolling and resizing of the browser window.