adding parameter hideOnMouseLeave to provide the possibility to not close the tooltip on mouseleave on it