I have a jsfiddle that I just made very simple to clarify your ideas.
link
The p inside the div of the slider change it for the images you want.
The javascript code works in the following way, I have a current variable initialized to 1 that tells me that slider is currently being displayed, said variable increases it by 1 each time I press the button (or the figure in your case), I have a data-total to put how many sliders there are in total and thus know when I have reached the end, if the next one is greater than the total, I restart everything to 1.
I think it will be clearer in the jsfiddle that I have gone through, if you have questions ask me.