code: function(index) {
  		var numSlides = mfp.items.length;
  		if(index > numSlides - 1) {
  			return index - numSlides;
  		} else  if(index < 0) {
  			return numSlides + index;
  		}
  		return index;
  	}
docs: Get looped index depending on number of slides