implementing a basic pulltorefresh in the latest fragment