add pulldown and pullup to refresh and switch page