Regrouped the functions in the timeline code a bit (no actual code changes)
Split out multi-touch code from single-touch