do all of this only on mobiles
now replaces all instances of click with touch
renamed test file to example.html