fix scrolling of sidebar

Please test @DeepDiver1975