Have a look at my RSVP online demo. Your easiest solution is to present your sequence within a single routine rather than using a loop.