       @root.style.top = '0'
       drawerDim = 'width'
 
+
+  @__drawerScrollListener = =>
+    @root.style.top = "#{window.pageYOffset}px"
+
+
   @getRenderedDimensions().then (d) =>
     if dir is 'in'
       @root.style[s] = 'auto' for s in ['top', 'right', 'bottom', 'left']

  # @function afterIn
  ###
  afterOut: ->

    if @side in ['left', 'right']
      @root.style.top = '0'
    @root.style[@side] = '0'
    window.removeEventListener 'scroll', @__drawerScrollListener


  ###*
