GUI -- Better cleanup of topo view when it is destroyed.

Change-Id: I038fb43f9a5afc63393583334576d0be81b64f1f
diff --git a/web/gui/src/main/webapp/app/view/topo/topoInst.js b/web/gui/src/main/webapp/app/view/topo/topoInst.js
index 718fec3..a7093d3 100644
--- a/web/gui/src/main/webapp/app/view/topo/topoInst.js
+++ b/web/gui/src/main/webapp/app/view/topo/topoInst.js
@@ -303,6 +303,10 @@
 
         ps.destroyPanel(idIns);
         oiBox = null;
+
+        onosInstances = {};
+        onosOrder = [];
+        oiShowMaster = false;
     }
 
     // ==========================