mouse event helper - maps touch events to mouse events, and provides "smart" click functionality