optimized window resizing