Sono arrivato a questo punto.

Dovrei solamente applicare l'effetto bounce.

http://www.gaetanodemitri.altervista...enu/index.html