This flow is a variation on the sequential example, and just loops around the first and last states / slides.