navbar scrolls, lecture button only works when a course is set