That sounds like a mode you might want to put the legend into. Possibly a default setting of the legend when defined in the map but users have the ability to change it if they don't like the behaviour. Alternatively it could be a viewer setting that the user can set as they like. Would this apply to all layers regardless if they are base layers (tiled) or just the dynamic layers?
Dave