added a scroll direction enum