testing the scroll functionality