Minor alterations to scrolling handling.