move frame sizes into cfg