Using tap event rather than click.