Minor fix in tgNavUrls.resolve
Refactor: Use tgNavUrls to get urls of the previous and next object