getting the right gui size for hamilton