refactor(tabs): added handling for when the tabs are initially hidden