avoid scrollbars in layerManager