code: function fit(){
  			var height = THIS.headingHeight;
  			if(THIS.open)   height += content.scrollHeight;
  			if(useBorders)  height += THIS.elBorder;
  			THIS.height = height;
  		}
docs: Adjust a fold's container to fit its content.