edited version of Foundations topbar to work on offcanvas sidebar