Bug 51196: Fix the appearance of wrapped text in navbar

Now, when the screen is too narrow (or the text is too long)
to display the navigation bar in a single line, the "next"
chapterlink drops into a second line and remains right-aligned.

Change-Id: I311917858e92298a772150deaeaddfe0f43d3f55