fix screen transition after sign in