Set scroll-bar-mode only in graphical environment