Reduce the navbar to a min height when the window height is small.

This happens for example on Ee-PC which have screen of 1024×600.
Fixes https://github.com/ocaml/ocaml.org/issues/279