CRM-14107 additional fixes

----------------------------------------
* CRM-14107: Implement Previous / Next navigation on contact summary pages when accessed from a custom search
  https://issues.civicrm.org/jira/browse/CRM-14107
Merge pull request #3386 from monishdeb/CRM-14107-fix

CRM-14107 additional fixes