title: Has no method scrollTo
body: <p>I am trying to call the scrollTo method in a backbone.js event function. I want to scroll to a certain div tag when a list anchor is clicked. I binded the click event to a function and called the scrollTo method in that function, but I get the error, "<strong>Uncaught TypeError: Object function (a,b){return new e.fn.init(a,b,h)} has no method 'scrollTo'</strong>" when I click the anchor. </p>
  
  <p>Please help!</p>
  
  <p>Here are some sample code.</p>
  
  <pre><code>var MenuItemListView = Backbone.View.extend({
      el: $('#menuitem_list_container'),
      initialize: function() {
          _.bindAll(this, 'render');
      },
      render: function() {
          var template = _.template( $("#menuitem_list_template").html(), {selectedindex: menuItemList.get('selectedindex'), menuitemlist: menuItemList.get('menuitemlist')});
          this.el.html(template);
          return this;
      },
      events: {
          "click .nav a":"buttonClick"
      },
      buttonClick: function(e) {
          e.preventDefault();
          target = e.currentTarget.hash;
          alert(target);
          $.scrollTo(target, 100);
      }
  });
  </code></pre>