Change mouse hover to mouseenter and mouseleave; Popup div now displays the url of the img when moused over, and disappears when moused out.