functionality for hiding the input and history areas of the student view