added scrolling in output window