Adds .innerWidth as an option to calculate elm width

fixed an issue with IE10 and 11 not properly recalculating window width on resize.