Improved map legend menu operation

better handling of toggling fullscreen