change vw/vh tests to clientWidth rather than innerWidth in case of
scrollbars