catch touch, click, or mousedown on <a> to count clicks