possible fix for pager adapter crash when swiping between tabs