SYNC 2 VisJS timelines

I have two horizontal timelines with identical styles and groups but different data. The right timeline displays aggregated summary values for the groups from the first timeline. I need to fully synchronize the Y-axis movement of the first and second timelines.

How can this be done?

observer1 = new MutationObserver(mutations => {
      mutations.forEach(mutationRecord => {
        timelineRight.style.transform = timelineMain.style.transform // MY TRY TO Sync transform
        timelineRight.value.redraw() // BUT HERE NOT WORKING (Maybe need smth more than just transform?)
      })
    })
    observer1?.observe(timelineMain, {
      attributes: true,
      attributeFilter: ['style'],
    })