Optimized window for resizability