Fixed layout changes in tabs