I have a range of x and y coordinate values. When my div is inside this range, it is redirected to another page. I want this to happen once the div has entered this range an