setting up monitoring for touch events