anchor.diff:        var frame = $('[data-file-id="' + active_file.id + '"]').parent();
         this.showFrame(frame);
         this.toggleButtonStates();
  -    });
  +    }.bind(this));
     },
   
     initializeFileTreeButtons: function () {
       $('#create-file').on('click', this.showFileDialog.bind(this));
  +    $('#create-file-collapsed').on('click', this.showFileDialog.bind(this));
       $('#destroy-file').on('click', this.confirmDestroy.bind(this));
  +    $('#destroy-file-collapsed').on('click', this.confirmDestroy.bind(this));
       $('#download').on('click', this.downloadCode.bind(this));
  +    $('#download-collapsed').on('click', this.downloadCode.bind(this));
       $('#request-for-comments').on('click', this.requestComments.bind(this));
  +  },
  +
  +  initializeSideBarCollapse: function() {
  +    $('#sidebar-collapsed').addClass('hidden');
  +    $('#sidebar-collapse-collapsed').on('click',this.handleSideBarToggle.bind(this));
  +    $('#sidebar-collapse').on('click',this.handleSideBarToggle.bind(this))
  +  },
  +
  +  handleSideBarToggle: function() {
  +    $('#sidebar').toggleClass('sidebar-col').toggleClass('sidebar-col-collapsed');/**
  +    $('#frames').toggleClass('editor-col')
  +    if (main_area.hasClass('col-sm-10')) {
  +      main_area.removeClass('col-sm-10').addClass('col-sm-11');
  +    } else if (main_area.hasClass('col-sm-11')) {
  +      main_area.removeClass('col-sm-11').addClass('col-sm-10');
  +    }*/
  +    $('#sidebar-collapsed').toggleClass('hidden');
  +    $('#sidebar-uncollapsed').toggleClass('hidden');
     },
   
     initializeRegexes: function () {
  
positive.code:     });
    },
  
    initializeEverything: function() {
      this.initializeRegexes();
      this.initializeCodePilot();
  
negative.code:     this.clearOutput();
      $('#hint').fadeOut();
      $('#flowrHint').fadeOut();
      this.showTab(0);
      this.showOutputBar();
    },
  
    isActiveFileBinary: function () {
  