message: Kept default offscreen page limit
  Don't destroy the fragment when offscreen. If there's tabs then destory is called for first tab when on third. Don't call super either so that the fragment isn't detached
diff: @@ -73,13 +73,11 @@ public class TabBarView extends ViewPager {
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
  tab.setElevation(-1 * index);
  notifyDataSetChanged();
  - setOffscreenPageLimit(tabs.size());
  }
  void removeTab(int index) {
  tabs.remove(index);
  notifyDataSetChanged();
  - setOffscreenPageLimit(tabs.size());
  }
  @Override
  @@ -106,17 +104,18 @@ public class TabBarView extends ViewPager {
  @Override
  public void destroyItem(@NonNull ViewGroup container, int position, @NonNull Object object) {
  + if (!tabs.contains(object)) {
  FragmentTransaction transaction = ((FragmentActivity) ((ReactContext) getContext()).getCurrentActivity()).getSupportFragmentManager().beginTransaction();
  transaction.remove((Fragment) object);
  transaction.commit();
  }
  }
  + }
  private class TabChangeListener implements ViewPager.OnPageChangeListener {
  @Override
  public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
  -
  }
  @Override
  