Replace click event with touchstart/mousedown

Part of #168.