title: Javascript cannot create property 'guid' on number '100'
body: <p>I am trying to trigger the <code>scroll</code> action on a <code>canvas</code> element by clicking on a link. </p>
  
  <p>Here are the examples I have been following: <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll" rel="nofollow noreferrer">https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll</a></p>
  
  <hr>
  
  <p><strong>JS:</strong></p>
  
  <pre><code>$('#zoom-in-button').click(function() {
      $('.vis-network canvas').scroll(0, 100);
      // $('.vis-network canvas').scroll({top: 1000});
  });
  </code></pre>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;a id="zoom-in-button" class="nav-button"&gt;
      +
  &lt;/a&gt;
  &lt;div class="vis-network"&gt;
      &lt;canvas style="overflow:auto"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <hr>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>jquery.min.js:2 Uncaught TypeError: Cannot create property 'guid' on number '100'
      at Object.add (jquery.min.js:2)
  </code></pre>