fixed issue with getting scroll pos on IE