fix pull-to-refresh with an empty list