Refactor: Fixed the View class from scrollpane to borderpane
Fixed the View class from scrollpane to borderpane and added at method to set the view to scrollpane if necessary.
Fixed the View class from scrollpane to borderpane and added at method to set the view to scrollpane if necessary.