title: scroll gallery how to make it infinite loop instead of running back to the first
body: <p>..Hi guys im really new to jquery and im having a hard time fixing this issue. The issue is... I want an infinite loop and not the effect of running back to the first content. </p>
  
  <pre><code>function initCarousel() {
  jQuery('.link-block').scrollGallery({
      mask: 'div.mask',
      slider: 'div.slideset',
      slides: 'div.slide',
      btnPrev: 'a.prev',
      btnNext: 'a.next',
      autoRotation: true,
  //displayTime: 5000,
      circularRotation: true,
      switchTime: 3000,
      animSpeed: 500
  </code></pre>
  
  <p>............</p>
  
  <pre><code>    // jquery plugin
  $.fn.scrollGallery = function(opt){
      return this.each(function(){
          $(this).data('ScrollGallery', new ScrollGallery($.extend(opt,{holder:this})));
      });
  };
  }(jQuery));
  </code></pre>
  
  <p>hope someone here can help :)</p>