Add event handling for touch event.