align mouse events with touch