menu, adjustment of borders and padding in tabs