code: function restoreOriginalWidth(p_sType, p_aArgs, p_oObject) {
  
          var sOriginalWidth = p_oObject[0],
              sNewWidth = p_oObject[1],
              oConfig = this.cfg,
              sCurrentWidth = oConfig.getProperty("width");
  
          if (sCurrentWidth == sNewWidth) {
              oConfig.setProperty("width", sOriginalWidth);
          }
  
          this.unsubscribe("hide", restoreOriginalWidth, p_oObject);
      }
docs: /*
  "hide" event handler that sets a Panel instance's "width"
  configuration property back to its original value before
  "setWidthToOffsetWidth" was called.