Throttle window resize event to 4 times a second to prevent lag