Fix servicematrix layout in case there are only a few services being shown

refs #4180