title: How to smooth scroll to div whithout anchors?
body: <p>How to smooth scroll to div whithout anchors?</p>
  
  <p>My html:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#click1").click(function() {
      $('html, body').animate({
          scrollTop: $("#section1").offset().top
      }, 2000);
      });
  
  
  $("#click2").click(function() {
      $('html, body').animate({
          scrollTop: $("#section2").offset().top
      }, 2000);
      });
      
  $("#click3").click(function() {
      $('html, body').animate({
          scrollTop: $("#section3").offset().top
      }, 2000);
      });</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.menu {
   position: fixed;
      top: 0px;
      left: 0px;
      background: #00a3e0;
  }
  
  .menu a {
    color:#ffffff;
    font-size: 13px;
      line-height: 40px;
      margin-right: 30px;
      display: inline-block;
      cursor: pointer;
  }
  
  #section1 {
    height:300px;
    background:yellow;
    clear:both;
    margin-top:40px;
  }
  
  #section2 {
    height:500px;
    background:green;
    clear:both;
    margin-top:40px;
  }
  
  #section3 {
    height:300px;
    background:red;
    clear:both;
    margin-top:40px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;div class="menu"&gt;
  &lt;a id="click1"&gt;click1&lt;/a&gt;
  &lt;a id="click2"&gt;click2&lt;/a&gt;
  &lt;a id="click3"&gt;click3&lt;/a&gt;
  &lt;/div&gt;
  
  
  &lt;div id="section1"&gt;I'm Sectoin1&lt;/div&gt;
  &lt;div id="section2"&gt;I'm Sectoin2&lt;/div&gt;
  &lt;div id="section3"&gt;I'm Sectoin3&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I want to click "click3" scroll to <code>&lt;div id="section3"&gt;&lt;/div&gt;</code> and click "click1" scroll to <code>&lt;div id="section1"&gt;&lt;/div&gt;</code>.</p>
  
  <p>How can I achieve that?</p>