Adds expanded and collapsed view for a single term.