Added a timeout to remove strain from browser on window resize