IE performance fix: use currentStyle.width instead of offsetWidth

IE performance enhancement: switched from testing on offsetWidth to currentStyle.width (if available). IE9 matchMedia queries now seem to be >10x faster (testing with a call count of ~10'000 calls/page, I use it with the picture polyfill).