need a little help with a portfolio site

Decided to change up my portfolio site slightly, but I’m having a really hard time with the jquery. I can’t seem to get the nav bar to clear the previous panel and only display the information correlating to the menu item you clicked.

Thanks, I changed it up a bit but it doesn’t look as nice. Oh well.