add getScrollPosition that works across browsers and a simple onscroll listener for testing;