fixed layout relations and finished iPad support