Added horizontal layout and vertical slider support.