add pullload and pullrefresh function