fix scrolling in the bottom pane
mention boolean fix by @igagnidz