Added viewport declaration to template.