improve the layout of the fixed navbar, fixes #280