Put resize tab height logic in timeout

Hopefully will prevent flickering from scrollbar appearing/disappearing and changing the height of the tab