updated rendering

updated rendering and positioning of tooltip