changes to panel

made it so that when you press enter after typing, it adds it to the
scroll pane