The script at
http://javascriptexample.net/anim03.php already does half of what the one that charges a $20 license fee does. It wouldn't take much extra code to get it to handle the thumbnail images as well
If you let me know exactly how you want the JavaScript to interact with the thumbnails I might consider extending my script to add that functionality.