Add a loading gif for infinite pages