 
       @emit "LoginViewHidden"
       @hidden = yes
+      @hideTimer = @utils.wait 2000, => @setClass 'hidden'
       callback?()
 
     unless @hidden then do cb


  show:(callback)->

    @setY 0

    cb = =>
      @emit "LoginViewShown"
      @hidden = no
      callback?()

    unless @hidden then do cb
    else @once "transitionend", cb

  click:(event)->
    if $(event.target).is('.login-screen')

  constructor:(options = {}, data)->

    {entryPoint} = KD.config
    options.cssClass = 'hidden'

    super options, data

