Add 'horizontal' flag for horizontal scrolling (work in progress)