Allow each individual layer in a slider to have its own unique legend. Only show the legend for the layer that is currently selected by the slider.