Code behind for new grade viewing type. Rough front end elements and (currently) broken ajax for switching between them.