michael: adapted layout-algorithm to cope with landscape orientation