added support for touch event on the screen