window resize fix
added