code: public void offsetChildrenHorizontal(int dx) {
          final int childCount = getChildCount();
          for (int i = 0; i < childCount; i++) {
              getChildAt(i).offsetLeftAndRight(dx);
          }
      }
docs: Offset the bounds of all child views by <code>dx</code> pixels.
  Useful for implementing simple scrolling in {@link com.twotoasters.android.support.v7.widget.RecyclerView.LayoutManager LayoutManagers}.
  
  @param dx Horizontal pixel offset to apply to the bounds of all child views