improved menu and fixed switchView bug
delete unused file