unit-id: improvements to toggle style

Change-Id: I5882e03015aa7f6b28b9d208169a8f24b002c5f9
Signed-off-by: Michael Davis <michael.s.davis@ibm.com>
diff --git a/src/js/directives.js b/src/js/directives.js
index a6cb77a..79224f0 100644
--- a/src/js/directives.js
+++ b/src/js/directives.js
@@ -28,7 +28,7 @@
             $scope.logout = function(){
                 userModel.logout();
                 $location.path('/logout');
-            }
+            };
 
             $scope.refresh = function(){
                 console.log("--refresh status--");
@@ -47,7 +47,8 @@
         },
         'controller': ['$scope', 'dataService', function($scope, dataService){
             $scope.$watch('showNavigation', function(){
-                var padingTop = 0;
+                var paddingTop = 0;
+                $scope.toggle = false;
                 $scope.firstLevel = 'overview';
                 $scope.secondLevel = 'system_overview';
                 if($scope.showNavigation){
@@ -56,6 +57,7 @@
                 dataService.bodyStyle = {'padding-top': paddingTop + 'px'};
                 $scope.navStyle = {'top': paddingTop + 'px'};
             });
+
         }]
     };
  })