Added function `repaint()` to force a repaint of the Timeline.
Fixed #116 and #138: bug when rendering the Timeline inside a hidden container.