fixes for tabBar and iPad