Adding tap gesture to show and hide commments. Also refactored pan gesture