UI corrections for switching between tabs