Fix a bug in IE

You can not get document.scrollTop in IE