minor bugfix

fixes weirdness with titles across the page and misuse of material classes