make client window fit the app on open