Fixes browser resize in mobile browsers