Initial implementation of scrolling

It is unclear how to control scroll speed with PyUserInput, so for
now the calculated scroll velocities are unused.