How to set the scrolling direction to horizontal or vertical

Follow