Move left navigation construction out of the template