Layout switcher.