ensure that controls buttons are shown and hidden properly when the user switches between the student view and the author view, fixes #187