add ability to detect touch events