         applayout.foot input
         # draw startup elements, and keep them until
         #  animation has finished
-        drawStartup(1500)
+        drawStartup()
         menu viewstate
         trayicon models
         dockicon viewstate

#  it is on the startup process or until contacts are loaded
#  (and 1.5s afterwards to keep an animation)
drawStartup = ->
    startup models
    applayout.last startup

# remove startup from applayout after animations finishes
handle 'remove_startup', ->
    startup = (models) -> null
    applayout.last null

handle 'update:viewstate', ->
    setLeftSize viewstate.leftSize

        if Array.isArray viewstate.pos
            later -> remote.getCurrentWindow().setPosition viewstate.pos...
        # show startup screen
        drawStartup()
        #
        applayout.left null
        applayout.convhead null
