Fixed navigation bar display with reduced screen width.

Redmine #4445
Merge pull request #174 from martinburchell/navbar_shrink

Navbar shrink