tests: fix ugly scrolling problem