Remove images when marking point shrinks

Fixes #77

Basically as users on memory constrained computers added more points there would be more and more copies of the magnified image in memory causing the site to slow as users' computer ran low on memory.  

This just removes the magnified image when the marking point is deselected and adds it back when the point is reselected. It seems to solve the problem.