Dynamics of distortion in collective memory