fixing pull to refresh