switches layout