Auto resize viewpager