Version  1.0.4

Add backwards compatibility for older browsers that don’t support
window.innerWidth/window.innerHeight and
window.pageXOffset/window.pageYOffset