EXample  of switching views in a container