add scroll direction