Linked the scroll bar properly to the text pane.