js for hiding/revealing side navs/tabbed content