found how to have scrollpane view resizes according to size of parent
new generic panels scroll pane added which will replace various parts of the gui later, both problem statement, and contraints are basically done, but need to be added