 
   fetchCurrentGroup:(callback)-> callback @currentGroupSlug
 
+  listenToLazyThreshold:->
+    @listController.once 'LazyLoadThresholdReached', @continueLoadingTeasers.bind @
+    @listController.once 'teasersLoaded', @teasersLoaded.bind @
+
+  continueLoadingTeasers:->
+    if isNaN(@lastFrom)
+      @listController.hideLazyLoader()
+      return
+
+    @populateActivity {to: @lastFrom}
+
   attachEvents:(controller)->
     activityController = KD.getSingleton('activityController')
     activityController.on 'ActivitiesArrived', @bound "activitiesArrived"
-    #activityController.on 'Refresh', @bound "refresh"
+    activityController.on 'Refresh', @bound "refresh"
 
     @listController = controller
-    @listController.on 'LazyLoadThresholdReached', @continueLoadingTeasers.bind @
-    @listController.on 'teasersLoaded', @teasersLoaded.bind @
+    @listenToLazyThreshold()
 
     @getView().widgetController.on "FakeActivityHasArrived", (activity)->
       controller.fakeActivityArrived activity

    currentGroup     = groupsController.getCurrentGroup()

    #fetch = ()=>
      # since it is not working, disabled it,
      # to-do add isExempt control.
      # @isExempt (exempt)=>
      #   if exempt or @getFilter() isnt activityTypes

    options =
      to     : options.to or Date.now()
      #from   : options.from
      group  :
        slug : currentGroup.slug or "koding"
        id   : currentGroup.getId()
      limit  : 20
      facets : @getActivityFilter()

    @fetchActivities options, (err, cache)=>
      @isLoading = no

      if err or cache.length is 0
        warn err  if err

        @listController.hideLazyLoader()
        @listController.showNoItemWidget()
      else
        @extractCacheTimeStamps cache

        @sanitizeCache cache, (err, cache)=>
          @listController.hideLazyLoader()
          @listController.listActivitiesFromCache cache

    #if isReady
    #then fetch
    #else groupsController.once 'groupChanged', fetch

  fetchActivities: (options={}, callback)->
    {CStatusActivity, CActivity} = KD.remote.api

    if @getFeedFilter() is "Public"
      CStatusActivity.fetchPublicActivityFeed options, (err, result)=>
        result.overview.reverse()  if result.overview
        return callback err, result
    else
      CActivity.fetchFolloweeContents options, callback

  activitiesArrived:(activities)->
    for activity in activities when activity.bongo_.constructorName in newActivitiesArrivedTypes

      #exempt = flags?.indexOf 'exempt'
      #exempt = (exempt? and exempt > -1) or storage.getAt 'bucket.showLowQualityContent'
      #callback exempt
