Example of a attributions visibily change on map resize, to collapse them on small maps.
See the attributions.js source to see how this is done.