next and prev with custom label support