simplifying brushing and histogram clicks