Made the whole legend box draggable 

The previous version was forcing the legend title to exist in order to make the legend draggable.
I relaxed this condition, and now the legend box is draggable with or without title