fixed window resize nav bug