Added iPad support for MainView;