     boxStyle
 
   mouseMove: (ev) ->
+    conf=atom.config.get('editor-background')
     @mouseX=ev.pageX
     @mouseY=ev.pageY
+    if conf.boxDepth>0 then @updateBox() else @updateBgPos()
 
 
   activateMouseMove: ->
-    window.addEventListener 'mousemove',(ev) =>  @mouseMove.apply @,[ev]
+    body = document.querySelector 'body'
+    body.addEventListener 'mousemove',(ev) =>  @mouseMove.apply @,[ev]
 
 
   initialize: ->

      default:true
      desctiption:"Transparent background under file tabs"
      order:7
    textShadow:
      type:"string"
      default:"0px 5px 2px rgba(0, 0, 0, 0.52)"
      description:"Add a little text shadow to code"
      order:8
    style:
      type:"string"
      default:"background:radial-gradient(rgba(0,0,0,0) 30%,rgba(0,0,0,0.75));"
      description:"Your custom css rules :]"
      order:9
    boxDepth:
      type:"integer"
      default: 500

      right:0;
    }
    .eb-bottom{
      transform: translate3d(0,50%,0) rotateX(-90deg);
      bottom:0;
    }
    .eb-back{
