makes width for rectangles on timeline