add function of pull down to refresh