Added pull-to-refresh functionality.