title: CarouFredSel - turn off infinite scrolling?
body: <p>I have a horizontal scrolling carousel:</p>
  
  <pre><code>    _gotoNext: function (that) {
  
          //tjobbe - put funciton here to check if there is anything else after the last slide, then stop / disable the gotonext. must only scroll one if only one is available (or 2). same for go to prev
          that.$element.find('.mediaCarousel').trigger("next", false);
      },
  
      //This method tells the mediaCarousel to go to the previous slide.
      _gotoPrev: function(that, callback) {
          that.$element.find('.mediaCarousel').trigger("prev", false);
      },
  </code></pre>
  
  <p><a href="http://jsfiddle.net/YVCTx/" rel="nofollow">http://jsfiddle.net/YVCTx/</a></p>
  
  <p>I need it to STOP or at least disable the next button when it gets to the last item. If there is an un-even number I also need it to only scroll one or two items, or let it do the full three.</p>
  
  <p><strong>My current code doesn't seem to be paying attention to the built in "infinite: true (or false)" option.</strong></p>
  
  <p>For example, I have 7 items at the moment, and I scroll 3 at a time. I'd like to stop at the third scroll, so that the second scroll only goes as for as the items in the list.</p>
  
  <p>Any ideas if this is possible?</p>