better handling of browser scrolling
closes #3