Added wrappers for browser window resize