Implement Swipe Refresh layout codes