Allow for horizontal or vertical scrolling.