cleaned up highlighting code in syllabus show view