Add support for horizontal scrolling