add touch event handler for Smartphone and Tablet