Add direction for scrolling