Refactored views into partials so template can be used on other pages. Added small logic for sidebar active pages to work.