mapping for cnext/cprevious