title: change route in scroll reactjs
body: <p>I have a question, but I do not even know how to solve it, I'm looking for if I scroll down, show me the following routes and scroll up to show me the previous routes</p>
  
  <p>I hope some guide</p>
  
  <pre><code>class Routes extends Component {
    render() {
      return (
        &lt;Router history={browserHistory}&gt;
          &lt;Route path='/' component={HomeLayout}&gt;
            &lt;IndexRoute component={HomeComponent} /&gt;
          &lt;/Route&gt;
          &lt;Route path='aps' component={AppServiceLayout}&gt;
            &lt;IndexRoute  /&gt;
          &lt;/Route&gt;
          &lt;Route path='portfolio' component={portfolioLayout}&gt;
            &lt;IndexRoute  /&gt;
          &lt;/Route&gt;
          &lt;Route path='about_us' component={aboutUsLayout}&gt;
            &lt;IndexRoute  /&gt;
          &lt;/Route&gt;        
          &lt;Route path='*' component={HomeLayout}&gt;
            &lt;IndexRoute component={NotFoundComponent} /&gt;
          &lt;/Route&gt;
        &lt;/Router&gt;
      );
    }
  }
  </code></pre>