fixing the treeview size problem and the arraylist view size