Added event handlers to touchMove, touchLeave, and touchCancel events.