Fixed Nav Script

Fixed the script to show which submenu the page was on in the case of
quizzes, lectures, and assignments.