layout of tab change