unnecessary saving to window object
Merge branch 'master' of github.com:kyranjamie/scroll-fix