Fix gantt toggle animation.