Add scroll refresh and load more functions.