nextOverlay method

void nextOverlay()

method for next overlay

Implementation

void nextOverlay() {
  currentIndex++;
  removeOverlay();
  if (currentIndex < initialList.length) show();
}