manage layouts
it works, but not right and ruther ugly =)