title: Jquery move an image x and y depending on position of mouse hover
body: <p>I'm trying to create an image inside a container that extends past the container, so that if I mouseover the container, the image will move opposite the direction of my mouse. If my mouse is closer to the edge of the container, the image will move faster, and if it's closer to the middle of the container, the image won't move at all. </p>
  
  <p>Similar to the marked correct answer here: <a href="https://stackoverflow.com/questions/19424317/move-the-background-image-on-mouse-over-single-parallax">Move the background image on mouse over (Single Parallax)</a> but I don't want the mouse movement to be controlling how the image moves, I want the mouse position to control how the image moves. This means that if the mouse is at the side of the image but not moving, the image will continue scrolling left until the right side of the image is at the right side of the container. </p>
  
  <p>I've found similar plugins but they are intended for use as sliders and only work on the x or y axis - Sorry I tried for like half an hour to find an example again and wasn't able to :( </p>
  
  <p>Does anyone know of any plugins that would be able to do this? Much appreciated!</p>