Restructure pull to refresh.