GY-521 gyroscope/accelerometer breakout board

I don't think they are inverted, I think you are misunderstanding what the values represent.