Javascript - tooltips directions - easier visualization

Changed the order of the visualization. It is not the css order, however it is easier to see the tooltips