fixing header nav issue, css case-sensitivity and normalizing the markup for the gallery page