         Backbone.history.navigate @categoryUrl()
     false
 
+  _createFolderView: (products) ->
+    return @folderView if @folderView?
+    @folderView = new UIDemo.Views.ProductsView
+      collection: products
+      category: @model
+    @folderView.render()
+
+  _destroyFolderView: ->
+    @folderView.remove()
+    delete @['folderView']
+
+
+

    return `when`.resolve() unless @isOpen()
    @folderView.close().then =>
      @transitionRemoveClass('active').then =>
        @folderView.remove()
        @trigger('closed', this) unless options.silent?

  toggleFolder: (event) ->

  open: (options = {}) ->
    return `when`.resolve(@folderView) if @isOpen()
    @model.loadProducts().then (products) =>
      @_createFolderView(products)
      @parent.activateFolder(this).then =>
        `when`.all([@transitionAddClass('active'), @folderView.open()]).then =>
          @trigger('opened', this) unless options.silent?
