 
   public func scrollTo(hour24: Float, animated: Bool = true) {
     // Any view is fine as they are all synchronized
-    if let controller = pagingViewController.viewControllers?.first as? TimelineContainerController {
+    if let controller = currentTimeline {
       controller.container.scrollTo(hour24: hour24, animated: animated)
     }
   }

  }

  private func accentDateForPendingEvent() {
    if let currentTimeline = pagingViewController.viewControllers?.first as? TimelineContainerController {
      let timeline = currentTimeline.timeline
      let converted = timeline.convert(CGPoint.zero, from: pendingEvent)
      let date = timeline.yToDate(converted.y)


  public func scrollToFirstEventIfNeeded() {
    if autoScrollToFirstEvent {
      if let controller = currentTimeline {
        controller.container.scrollToFirstEvent()
      }
    }
