Since the carousel works with HTML objects, why not make one of canvas
elements? While I usually avoid using Javascript, this would allow for some interesting applications.
I added the frame counter so you can see that the selected page is active.
Note that "Scripts not allowed!" or "Canvas not allowed!" show up if either Javascript or the Canvas element is blocked.