Moved ScrollPane layout functionality to Layout().