add show/hide sidebar button (refs #4339)