add scroll event for test case