Move responsibility for keeping just one sidebar open into fancysidebar.  Also move it where it can be handled properly.  Fix #297 along the way.