add basic window resize