Fix getting position of scroll in IE

Based on http://stackoverflow.com/a/14384091
Merge pull request #4 from pzurowski/ie-fix

thanks