finished responsive-ipad for main view