adjust initial frame size