improved version of handling touch events