some more work on tab layout