ux fix for tab switching without content jumping around