IE8 does not support window.innerWidth. Workaround added
Merge pull request #2 from bluurn/patch-2

IE8 does not support window.innerWidth. Workaround added