fix scrolling demo, now correctly broken in Python 3