list only forum category and its content(description)

I want list only forum category and its content(description) in right sidebar. i do below code to display category and its comtent but when i go to sub-forum page or topic page its nothing to display. i also want to display forum category and its content in sidebar of subforum and topic page.