Throttled resize event for better performance.