navbar works properly with content