How to Load Items into an Infinite Loop

How to Load Items into an Infinite Loop

Can you please take a look at  This Demo  let me know how I can load items into the  ul  list as an endless list. as you can see I have this list as following code but I need to add items again and again at the end of each time list.

  1. var item = $(".thumbnail").width();
  2. var paddT = $(".thumbnail").css('margin-left');
  3. item = item + 20;
  4. $(".leftslide").on("click", function () {
  5.     $(".list-inline").animate({
  6.         left: '-=' + item + 'px'
  7.     }, 300);
  8. });
  9. $(".rightslide").on("click", function () {
  10.     $(".list-inline").animate({
  11.         left: '+=' + item + 'px'
  12.     }, 300);
  13. }); 
Thanks