customized tooltip to top and horizon