Left side Navigation

Changes to template.php and related files for navigation work.