Tidied scroll event.