Improvements in inverting the navbar, see #78