Simplify reuse of the magnifying glass

This allows me to swap the image url and call magnify again without adding another layer of divs.