I've been wonder how to make the cool sliding pictures thing that appears here and here.

How would I do that? I want it to be like the first one, but with the slide animation that appears in the second.

Thanks.