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