Helpers for switching layout for demo.