Horizontal support for `setScrollPosition` (formerly `setScrollTop`)