Build the timeline in the render function

This builds a timeline of divs, using the color module to make it have a
gradient in color. It isn't perfect yet. The widths still need to be
relative to the whole image width.