respect NK.compactMode in layerSwitcher