Adding show() and hide() to tent.panel