add switch view