making the course list display vertically