Switching between 2 screens and skeleton code