implement view switching from world tree