     if @getOptions().animate then @setClass 'out' else @hide()
 
     @addListeners()
-    @getSingleton("windowController").on "ScrollHappened", @bound "hide"
+    KD.singleton("windowController").on "ScrollHappened", @bound "hide"
 
     @once "viewAppended", =>
       o = @getOptions()

    return unless @visible
    super
    @getDomElement().remove()
    @getSingleton("windowController").removeLayer this
    @visible = no

  update:(o = @getOptions(), view = null)->


    # converts NESW-Values to topbottomleftright and retains them in @getOptions
    @appendToDomBody()
    KD.singleton("windowController").addLayer this
    o = @translateCompassDirections o if o.gravity
    o.gravity = null

