text now scrolls when end of window is reached