layout from drawer to main switch