add support for optionally showing legend in full screen
Merge branch 'show-legend-fullscreen'