Move the legend in to the panel of the query details (remove one panel)