Dynamic courses index with accordian