added some comments for calculating the image orientation of the arrow for the compass in the mirroring case