Fixes the diff changes buttons from toggling when scrolling
What does this MR do?
Fixes the diff changes bar buttons from hiding/showing when scrolling in FireFox.
Also fixes a bug where being scrolled at the bottom would make the buttons be hidden at the start until scrolling.
What are the relevant issue numbers?
Closes #36698 (closed)