added touch support for touch and click support for non touch