handling basic touch event