replace window.scrollY with document.body.scrollTop for IE9 support