       'click .loadNext': 'loadNextFromEvent'
 
     template: template
+
+    $window: $ window
 
     els: '.discussion-entries': 'list'
 

  'Backbone'
  'jst/discussions/EntryCollectionView'
  'jst/discussions/entryStats'
  'compiled/views/DiscussionTopic/EntryView'
], (I18n, $, walk, {View}, template, entryStatsTemplate, EntryView) ->

  class EntryCollectionView extends View


    addNewView: (view) ->
      view.model.set 'new', false
      @list.append view.el
      @nestEntries()
      if not @options.root
        @$window.scrollTo view.$el, 200

        view.$el.hide()
        setTimeout =>
          view.$el.fadeIn()
