fixed bug where a design function accordion would open and close the same type in other design docs