changes mouse events to touch events