updated css; added page nav dom element to overlay template;