Switched to FragmentStatePagerAdapter

This discards fragments out of view in order to preserve memory, which
fixes crashes in some emulator instances.