handle changing child sizes