This means you'll bind a new event every time you click the page navigation. Instead you should bind this (and the mouseleave event above) once, and perhaps use a boolean or a class on the element to trigger the event.