scrollbars are only shown if required