adapt layout to catmosphere