Removed viewpager code that didn't work.