replaced scrollX/Y with scrollLeft/Top

window.scrollX/Y is only available in Chrome, not in IE