switching between timeline and histogram sometimes causes bugs in timeline
often when switching back to the timeline, it will not be displayed. like to be caused by resizeObserver logic (it renders correctly when console log on change of dimensions of observed element outputs "undefined" before the actual width and height; when it outputs some other numbers first, a ghost timeline renders(can be found in DOM, but not visable))