fix: check if window.outerWidth is supported
Merge pull request #8 from asimpson/outerWidthFix

fix: check if window.outerWidth is supported