Scroll up/down when cursor moves past window boundaries.