control size of frames