     $scope.progress = 20
     $scope.showSettings = true
     #$scope.org = null
+    $scope.isDetails = false
     $scope.slider =
         from: 0
         to: 0



    $scope.showDetails = (node) ->
        if node.type is 'o'
            $scope.selectedOrganisations = [{name: node.name}]
            $scope.selectedMedia = []

        update() if (oldValue isnt newValue)

    $scope.$watch 'selectedOrganisations', (newValue, oldValue) ->
        if not $scope.isDetails
            update()

    $scope.$watch 'selectedMedia', (newValue, oldValue) ->
        if not $scope.isDetails
            update()
        else
            $scope.isDetails = false;

    filterThreshold = "NoValue"
    $scope.$watch 'filter', (newValue,oldValue) ->
