fix click event on touch devices/update sample2