refactor(tabs): updates tab stretching logic

Also updates documentation to include details for how to control tab
stretching.