add global timeline, timeline as a widget, unit tests for global timeline