Resized the frame