When having the timeline in RTL mode, I noticed that the first item gets cut off in the timeline. If you click the button to go left and then back right, it has no issue. It only happens on page load.

It seems to me like the issue is in position in timelinePosition(). I noticed that on page load, the position value is 1599, but if you click left and then back right, the position value is 1572. How do we get, in my case, the position value to be 1572 on page load?
When having the timeline in RTL mode, I noticed that the first item gets cut off in the timeline. If you click the button to go left and then back right, it has no issue. It only happens on page load.
It seems to me like the issue is in
positionintimelinePosition(). I noticed that on page load, thepositionvalue is1599, but if you click left and then back right, thepositionvalue is1572. How do we get, in my case, thepositionvalue to be1572on page load?