navbar adjusted on window resize