adds expand/collapse to placeholders