fix nearby post page navigation problem