hide/show menu bar when showing/hiding sidebar