horizontal support for infinite scrolling