fix bug use with Google SwipeRefreshLayout