Use clientWidth rather than innerWidth (as this seems to be what mediaQueries use)
And commented out the touch code for now - as it seems to stop other touch events from working (updated README to reflect this)