changing styling for course page and adding logic to javascipt for focusing on info boxes