adding wrap class to all the templates and adding nvaigation