added flag for showing/hiding inversion circles