Fixed bug concerning fragments transtioning between orientations on phones.