added responsiveness to template page and fixed side nav positioning