fix show topic template (back open/close functionality)