Add two array for collapsed and expanded items