also add macros for looping on listbases as if they were circular lists which is handy for cycling over items.