add option to drag with right click only

Not sure about this though, there seems to be some usability issues.
Every other website on the internet uses the left button
backend functionality added in order to undo the users last action
undo works, on client and server

button UI needs a bit of work though
do not show the undo button when there is nothing to undo