now moves the x-axis based on mouse events