make the legend go above the hist