edited version of Foundations topbar to work with offcanvas sidebar