change mouse events to touch event