Fixed bug that made viewpager crash on phones.