handle landscape layout in history fragment