       @appendHtml(this, childView)
 
   reset: ->
+    @closeChildViews()
     @collection.each( @add, this );
     @renderChildren()
 

      appendTo


  beforeClose: ->
    childView.close() for childView in @childViews

  appendHtml: (collectionView, childView, index) ->
    childView.render()

  template: 'activities/list'

  initialize: (opts) ->
    @collection.on('reset remove', @reset, this)
    @collection.on('add', @add, this)

    @addShowHideToggle('loadingIndicator', 'div.loading');
