Tidied up scrolling a little.