add ontouchstart === null check for pc and phone