Added event handling code to hide a block of text.