title: AnythingSlider is undefined
body: <p>I'm using the AnythingSlider jquery plugin for a photogallery and I'm having some problems in customizing it.</p>
  
  <p>The slider works, but right now I want to show the current slide number and the total number and I'm getting an error in Firebug.</p>
  
  <p>The script is this:</p>
  
  <pre><code>$(function() {
  
  var current = $('#gallery').data('AnythingSlider').currentPage;
  var pages = $('#gallery').data('AnythingSlider').pages;
  $('.slides').append(current + '/' + pages);
  
  $('#gallery').anythingSlider({
      appendBackTo: '.arrow-left',
  appendForwardTo: '.arrow-right',
  buildNavigation: false,
  buildStartStop: false,
  easing: 'linear',
  resizeContents: false
      //expand: true
  })
  });
  </code></pre>
  
  <p>Without the first 3 lines it works, but with that Firebug says $("#gallery").data("AnythingSlider") is undefined.</p>