fix up window resize logic
merge development