allow event to toggle on click