Added support for horizontal scrolling in InfiniteScrolling implementation

Override of the addInfiniteScrolling method to specify a scrolling direction. Default value is Vertical.