added layout for mirroring, parity, added css class