added pull-to-refresh to the chat fragment