Added window.doScroll()