 
     dimensions
 
-  perform: (actions, container) ->
+  perform: (actions, container, type) ->
     for action in actions
       if action.indexOf(' ') < 0
         # 'click'

  cleanUp: (callback) ->
    @hideWindow =>
      clue = @clues[@position]
      container = $(clue.container)
      container.removeClass('selected-clue')

      # undo click perform by doing it again
      if clue.actions
        @perform clue.actions, container

      if callback
        callback()

        target = container.find( action.substr action.indexOf(' ') + 1 )

      switch eventName
        when 'click'
          target.trigger('click')
        when 'hover'

          # disable active navbar elements
          $('#app .navigation .is-active').removeClass('is-active')

          if type is 'show'
            target.addClass('is-hovered')
          else
            target.removeClass('is-hovered')
