make the gui open up with reasonable size