adding window resize