window resize added again