(function(app) {
  'use strict';

  var helper = app.helper || require('../helper.js');
  var dom = app.dom || require('../dom.js');
  var Component = app.Component || require('./component.js');

  var SidebarModule = helper.inherits(function(props) {
    SidebarModule.super_.call(this, props);

    this.title = this.prop(props.title);
    this.content = this.prop(props.content);
  }, Component);

  var Sidebar = helper.inherits(function(props) {
    Sidebar.super_.call(this, props);
  }, Component);

  Sidebar.prototype.searchInputElement = function() {
    return dom.child(this.element(), 0, 0);
  };

  Sidebar.prototype.contentElement = function() {
    return dom.child(this.element(), 1);
  };

  if (typeof module !== 'undefined' && module.exports) {
    module.exports = Sidebar;
  } else {
    app.Sidebar = Sidebar;
  }
})(this.app || (this.app = {}));

@@ -374,37 +374,586 @@
 content);%0A  
-%7D, Component)
+  this.parentElement = this.prop(null);%0A  %7D, Component);%0A%0A  SidebarModule.prototype.redraw = function() %7B%0A    var element = this.element();%0A    var parentElement = this.parentElement();%0A%0A    if (!parentElement && !element) %7B%0A      return;%0A    %7D%0A%0A    // add element%0A    if (parentElement && !element) %7B%0A      element = dom.el('%3Cdiv%3E');%0A      this.element(element);%0A      dom.append(parentElement, element);%0A      return;%0A    %7D%0A%0A    // remove element%0A    if (!parentElement && element) %7B%0A      dom.remove(element);%0A      this.element(null);%0A      return;%0A    %7D%0A  %7D
 ;%0A%0A  var Sid

Make skeleton element of sidebar-module