onscroll(top) {
    const stream = this.props.stream;

    if (stream.paused || !stream.$()) return;

    this.update(top);
    this.renderScrollbar();
  }
/**
   * When the page is scrolled, update the scrollbar to reflect the visible
   * posts.
   *
   * @param {Integer} top
   */
When the page is scrolled, update the scrollbar to reflect the visible
posts.

@param {Integer} top
When the page is scrolled update the scrollbar to reflect the visible posts . @param { Integer } top
onscroll(top) {
    const stream = this.props.stream;
    if (stream.paused || !stream.$()) return;
    this.update(top);
    this.renderScrollbar();
  }
onscroll ( top ) { const stream = this . props . stream ; if ( stream . paused || ! stream . $ ( ) ) return ; this . update ( top ) ; this . renderScrollbar ( ) ; }
When the page is scrolled, update the scrollbar to reflect the visible
 posts.
When the page is scrolled update the scrollbar to reflect the visible posts .