Add next and prev pedestrian functions