addTouchHandler

Adds a touch handler to the window callback.