add click event for mobile devices