fix navbar wrapping on small screens. fixes #704