added support for horizontal paging orientations