implemented swipe down to refresh