render the correct partials on link clicks on the side navbar