stopping refresh spinner only once all data has been loaded