Added draggability function for right click