less confusing window resize