@Override
 public void resetTransformations() {
   for (int i = 0; i < getChildCount(); i++) {
     final View child = getChildAt(i);
     TiViewHelper.resetValues(child);
   }
 }
    @Override
    public void updatePageTransformer() {
      if (transition != null) {
        setPageTransformer(
            !TransitionHelper.isPushSubType(transition.subType),
            new PageTransformer() {

              @Override
              public void transformPage(View page, float position) {
                if (transition != null) {
                  transition.transformView(page, position, true);
                }
              }
            });
        for (int i = 0; i < getChildCount(); i++) {
          final View child = getChildAt(i);
          TiViewHelper.resetValues(child);
          transition.transformView(child, i - mCurIndex, true);
        }
      } else {
        setPageTransformer(false, null);
      }
    }