combined mouse and touch events, added tag support