Added expandable section logic