Adjust height when changing tabs