Hm it needs to work in IE9, but not 8 and lower. Could use matchMedia with a polyfill for IE9. I can work on that but would rather not block this PR for it (I've got other stuff I need to finish today).