added mouse emulation of touch events