title: Jquery Nice scroll not working
body: <p>I am using Jquery nice Scroll bar for div, but when content of div increases dynamically its not showing scroll bar. Windows default scroll bar works fine if i remove nice scroll. 
  Can anyone help me to solve this problem?</p>
  
  <p>Html</p>
  
  <pre><code>&lt;div id="div-to-scroll"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Script</p>
  
  <pre><code>$(document).ready(function(e) {
      var nice = $("#div-to-scroll").getNiceScroll();
      $("#div-to-scroll").niceScroll();
      $("#div-to-scroll").getNiceScroll().resize();
  });
  </code></pre>
  
  <p>this is my code sample.</p>