A copy of twitter's pull-to-refresh functionality