fixe check of active slide in agenda