display a loading icon when retrieving results