Added code for a scroll pane