add a window resize