hide scrollbars if running in a GUI