Added a vertical or horizontal only scroll option