Added pageradapter for the viewpager, tabs now working