     @addSubView @groupHeader  unless isKoding()
     @addSubView @sidebar
     @addSubView @tabs
+
+
+  scroll: ->
+
+    if window.scrollY > 316
+    then @setClass 'fixed'
+    else @unsetClass 'fixed'
 
 
   # type: [public|topic|post|message|chat|null]


    @appStorage.setValue 'liveUpdates', off


  lazyLoadThresholdReached: -> @tabs.getActivePane()?.emit 'LazyLoadThresholdReached'



    super options, data

    {
      appStorageController
      windowController
    }                      = KD.singletons
    {entryPoint}           = KD.config
    @_lastMessage          = null

    @appStorage  = appStorageController.storage 'Activity', '2.0'
