title: Materializecss scrollspy throttle not working
body: <p>I'm making a one page website with materializecss and I'm using scrollspy to scroll between sections.</p>
  
  <p>This all works fine, but I would like it to scroll slower. However the option throttle for this doesn't seem to work.</p>
  
  <p>Check out a codepen of my problem <a href="https://codepen.io/magikarpthedestoyer/pen/OKMwZg" rel="nofollow noreferrer">here!</a></p>
  
  <p>HTML</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="UTF-8"&gt;
      &lt;title&gt;Document&lt;/title&gt;
      &lt;link rel="stylesheet" type="text/css" href="css/style.css"&gt; 
      &lt;!-- MATERIALIZECSS CSS --&gt;
      &lt;link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"&gt;           
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div class="navbar-fixed"&gt;
          &lt;nav&gt;
            &lt;div class="nav-wrapper black"&gt;
              &lt;a href="#!" class="brand-logo"&gt;One Page&lt;/a&gt;
              &lt;ul id="nav-mobile" class="right"&gt;
                &lt;li&gt;&lt;a href="#page1"&gt;Page 1&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="#page2"&gt;Page 2&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="#page3"&gt;Page 3&lt;/a&gt;&lt;/li&gt;
              &lt;/ul&gt;
            &lt;/div&gt;
          &lt;/nav&gt;
      &lt;/div&gt;
      &lt;section id="page1" class="scrollspy onepager"&gt;&lt;/section&gt;
      &lt;section id="page2" class="scrollspy onepager"&gt;&lt;/section&gt;
      &lt;section id="page3" class="scrollspy onepager"&gt;&lt;/section&gt;
  
  
      &lt;!-- JQUERY &amp; MATERIALIZECSS JS --&gt;
      &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"&gt;&lt;/script&gt;
      &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          $(document).ready(function(){
              $('.scrollspy').scrollSpy({
                  scrollOffset: 64,
                  throttle: 10
              });
          });
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>CSS</p>
  
  <pre><code>*{
      margin: 0!important;
      padding: 0;
  }
  
  .onepager {
      height: 100vh;
  }
  
  #page1 {
      background: green;
  }
  
  #page2 {
      background: yellow;
  }
  
  #page3 {
      background: blue;
  }
  
  a.active {
    background-color: #222;
  }
  </code></pre>
  
  <p>Setting throttle to 10 (default 100) should make the scrolling go slower, however the default speed keeps being applied.</p>