Timeline.js - Animation on event
Click the rectangle once to make it move.
Double click to make it move and spin.