make it so the hover image doesn't go away until the mouse leaves
refactor of code