Ideas on how this was done

http://www.tphifer.com/main.html

I’m interested in the thumbnail part but I’m not particularly bothered about the left to right movement but the way is scales the thumbnail and moves the adjacent thumbs so as not to cover them.

Any ideas as to how this was done would be most appreciated.

cheers