Function to register a callback
The id of the TouchEvents element
The name of the event to register the callback for
The function invoked when the event fires
Function to register a callback