Click event chnaged to tap event for better performance on mobile