@Override
    public ViewGroup.LayoutParams generateLayoutParams(AttributeSet attrs) {
        return new LayoutParams(getContext(), attrs);
    }
We only want the current page that is being shown to be focusable.
library/src/main/java/com/daimajia/slider/library/Tricks/ViewPagerEx.java