add releaseId to obtain the cursor position when mouseup; this will allow us to "brush" plots

I still need to draw a rectangle on the image; I had a failed attempt but have no idea why it failed