Updtated the viewpager layout for supporting multiple screens.