Added context and event information to click handlers on touch devices. Closes #1830.