integrating pull to refresh