[ci skip] Fixed weird behavior of the scroll bars

The scrollbars interacted badly, as they only saved there own
position. This caused a weird behavior, that when you click on a
scrollbar after you changed the position using another scrollbar, you
get "jumps". This commit fixed that issue.