improve mouse and touch event handling