Add listeners for touchcancel and touchleave events