add click event for mobile support