fixed getWindowScroll to be compatible with IE6+