changed tap function

from addEventListener to .ontouchstart