Changed data structure to be an array. Re-added visibility binding to collapse link.