Respond to click events

The animations start when elements are clicked on.