If you take half the width of the level and subtract that from the x position, it wouldn't be so bad.
mirror_position_x = (position_x - level_width/2) * -1)
or you could move the camera so that 0,0 is the center