added mirroring to avatar generator