render legend when switching to fullscreen