How to make a cam circuit whit matinee

I want to make a circuit with 4 cameras, when you press left click advances to the next camera and when press right click, reverse to the previous camera.

The problem appears when I want to make the backward camera is always return to the first camera and not to previous camera.