navbar works if resize window