title: Javascript scroll always on bottom
body: <p>I have a div class called ".chat-scroll". I need that div class always on the bottom like chat.</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>$(".chat-scroll").animate({ scrollTop: $(document).height() }, "slow");</code></pre>
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.chat-scroll {
      overflow-y: scroll;
      height: 200px;
      padding: 10px;
  }</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="chat-scroll"&gt;
    &lt;ul class="messages list-unstyled"&gt;
      &lt;li&gt;&lt;span class="text"&gt;{!! $shout-&gt;text !!}&lt;/span&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But does not working.</p>