make horizontalscroll optional