dont reset on window resize on touch devices (messes up keyboard being shown)