add logic and styling for tooltips on progress bars