index = (settings.loop === true) ? (self.index + 1) % self.length : self.index + 1;