styling, functionality for course material pages