refactored gantt chart to be a reusable widget