Improved CustomViewGroup similar to ViewPager