Add a 'fragmention' class to matched element.

Remove from existing elements when a new one is searched for.