file that treat touch events