removed unnecessary scrollbars to be displayed only if needed