code: function(close) {
  				var w = $('#sidepanels').width();
  				var deltaX = (w > 2 || close ? 2 : SIDEPANEL_OPENWIDTH) - w;
  				changeSidePanelWidth(deltaX);
  			}
docs: if width is non-zero, then fully close it, otherwise fully open it the optional close argument forces the side panel closed