Add UI functionality for hiding and unhiding comments