make pycodeinput scrolling a bit more consistent