fixed switching between screens