add resize weight to splitpane