I can suggest you to use Custom Element, that listening to mouse movement and transferring coordinates (with fire event) to your page with element that you want to move. On the page you are listening to custom element moving events. From here you can animate your box to any position related to mouse coordinates.