add tooltip if middle_truncate actually truncated the text