closestElements helper
update docs: closestElements