Content that jumps sideways when a page gets long enough to scroll looks sloppy.
html { scrollbar-gutter: stable; }
.sidebar-list { overflow-y: auto; scrollbar-gutter: stable both-edges; }
On systems with classic scrollbars, the bar takes space from the page only when there is overflow, so a page that grows past the window height shifts the layout by about 15 pixels. scrollbar-gutter: stable always reserves that strip. both-edges adds the same space on the other side to keep the content centred. Overlay scrollbars take no space, so there you will see no difference. Phones use them, and so does macOS when a trackpad is the main input.
Further reading: MDN: scrollbar-gutter