added a viewpager in the mainactivity