Count slides. If slide index eq last slide, display block, else display none On click display next slide. Slide Index minus 1.