fix smartdocs for infinite scroll