replace mouse events with touch events