Added slide selection to getLesson and getChapter