How to make this addition to the XML image gallery?

Hi there.

I have searched the forums but obviously didn’t find what i was looking for.

I am looking for a way to make a XML gallery like the one on this site, without the thumbnails.

What i need it to be able to do is to scroll/slide/move my pictures the distance of the following picture.


Lets say i have 5 pictures with identical width and height. Through a mask, 4 of them are visible. When i click my Next button i want the whole list of pictures to move a distance similar to the next picturse (the 5th pictures). That way the pictures 2 3 4 5 are visible and picture 1 is not.

Actually what i’m looking for is kinda like the Kirupa thumbnail scroller, just scrolling/sliding one picture at a time per click on the next button instead of a contionous scroll.

Does anyone know how to do that?

Any help is much appreciated.