provided support for pull-to-refresh