layout tab bar and buttons