docs: function() {
              if (! pgwSlideshow.config.displayList) return false;
  
              // Refresh list width
              setListWidth();
  
              var containerObject = pgwSlideshow.plugin.find('.ps-list');
              var containerWidth = containerObject.width();
              var listObject = pgwSlideshow.plugin.find('.ps-list > ul');
              var listWidth = listObject.width();
  
              if (listWidth > containerWidth) {
                  listObject.css('margin', '0 45px');
  
                  var marginLeft = parseInt(listObject.css('margin-left'));
                  var marginRight = parseInt(listObject.css('margin-right'));
                  containerWidth -= (marginLeft + marginRight);
  
                  // Left button
                  containerObject.find('.ps-prev').show().unbind('click').click(function() {
                      var oldPosition = parseInt(listObject.css('left'));
                      var newPosition = oldPosition + containerWidth;
  
                      if (oldPosition == 0) {
                          newPosition = -(listWidth - containerWidth);
                      } else if (newPosition > 0) {
                          newPosition = 0;
                      }
  
                      if (typeof listObject.animate == 'function') {
                          listObject.animate({
                              left: newPosition
                          }, pgwSlideshow.config.transitionDuration);
                      } else {
                          listObject.css('left', newPosition);
                      }
                  });
  
                  // Right button
                  containerObject.find('.ps-next').show().unbind('click').click(function() {
                      var oldPosition = parseInt(listObject.css('left'));
                      var newPosition = oldPosition - containerWidth;
                      var maxPosition = -(listWidth - containerWidth);
  
                      if (oldPosition == maxPosition) {
                          newPosition = 0;
                      } else if (newPosition < maxPosition) {
                          newPosition = maxPosition;
                      }
  
                      if (typeof listObject.animate == 'function') {
                          listObject.animate({
                              left: newPosition
                          }, pgwSlideshow.config.transitionDuration);
                      } else {
                          listObject.css('left', newPosition);
                      }
                  });
  
                  // Touch controls for the list
                  if (pgwSlideshow.config.touchControls) {
  
                      pgwSlideshow.plugin.find('.ps-list > ul').on('touchmove', function(e) {
                          try {
                              if (e.originalEvent.touches[0].clientX) {
                                  var lastPosition = (pgwSlideshow.touchListLastPosition == false ? 0 : pgwSlideshow.touchListLastPosition);
                                  nbPixels = (pgwSlideshow.touchListLastPosition == false ? 1 : Math.abs(lastPosition - e.originalEvent.touches[0].clientX));
                                  pgwSlideshow.touchListLastPosition = e.originalEvent.touches[0].clientX;
  
                                  var touchDirection = '';
                                  if (lastPosition > e.originalEvent.touches[0].clientX) {
                                      touchDirection = 'left';
                                  } else if (lastPosition < e.originalEvent.touches[0].clientX) {
                                      touchDirection = 'right';
                                  }
                              }
  
                              var oldPosition = parseInt(listObject.css('left'));
  
                              if (touchDirection == 'left') {
                                  var containerWidth = containerObject.width();
                                  var listWidth = listObject.width();
  
                                  var marginLeft = parseInt(listObject.css('margin-left'));
                                  var marginRight = parseInt(listObject.css('margin-right'));
                                  containerWidth -= (marginLeft + marginRight);
  
                                  var maxPosition = -(listWidth - containerWidth);
                                  var newPosition = oldPosition - nbPixels;
  
                                  if (newPosition > maxPosition) {
                                      listObject.css('left', newPosition);
                                  }
  
                              } else if (touchDirection == 'right') {
                                  var newPosition = oldPosition + nbPixels;
  
                                  if (newPosition < 0) {
                                      listObject.css('left', newPosition);
                                  } else {
                                      listObject.css('left', 0);
                                  }
                              }
  
                          } catch(e) {
                              pgwSlideshow.touchListLastPosition = false;
                          }
                      });
  
                      pgwSlideshow.plugin.find('.ps-list > ul').on('touchend', function(e) {
                          pgwSlideshow.touchListLastPosition = false;
                      });
                  }
  
              } else {
                  var marginLeft = parseInt((containerWidth - listWidth) / 2);
                  listObject.css('left', 0).css('margin-left', marginLeft);
                  containerObject.find('.ps-prev').hide();
                  containerObject.find('.ps-next').hide();
                  pgwSlideshow.plugin.find('.ps-list > ul').unbind('touchstart touchmove touchend');
              }
  
              return true;
          }