auto detect touch events in Dom