First implementation of touch events