make refreshControl flexible