clean up rendering

unify rendering code for summary rows and normal annotations