viewpager layout initial setup.