using mousemove event so that the overlay always follows the pointer