set initial frame size