Tab selection to work on both click and touchend events.