Moves title click event up to body.

This will slightly speedup content generation.