added ability to only show progress indicator when refreshing.