Added layout classes base on region content