I am having trouble with showing up fragments on orientation change. I have 2 fragments, one fragment handles the portrait mode and the another handles landscape mode. But the problem is that when I rotate from portrait to landscape then back to portrait again. It doesn't show the portrait fragment properly.