     <PerfectScrollbar
       {...@props}
       className={kd.utils.curry 'Scrollable', @props.className}
+      onUpLimitReached={@bound 'onUpLimitReached'}
+      onDownLimitReached={@bound 'onDownLimitReached'}
       ref='scrollContainer'>
-      {@renderTopWaypoint()}
       {@props.children}
-      {@renderBottomWaypoint()}
     </PerfectScrollbar>
 
 

kd = require 'kd'
React = require 'kd-react'
Waypoint = require 'react-waypoint'

PerfectScrollbar = require 'app/components/perfectscrollbar'


    minScrollbarLength    : 64
    useSelectionScroll    : on

  onUpLimitReached: ->

    return  unless @props.hasMore

    @props.onTopThresholdReached?()


  onDownLimitReached: ->

    return  unless @props.hasMore

    @props.onThresholdReached?()


  render: ->
