adjust table to scrollpane