Fix iphone and tablet views