updated tooltip position to be dynamic based on width and left position of each task