Fixed the dragging of markers

The markers now drag properly but are a little laggy.  Still need to fix
the line not following on drag so it looks really responsive.