call hide() to remove the display from prior panel

The display:block etc was not being removed which caused multiple panel content to be displayed when linking into a panel.