resize parent on grid load