properly select tooltip in same div container for hists