It will be nice that we move these out of the switch cases because it seems duplicate in touchend and click.