Add functions to move to the next/previous namelist