fix(tabs): evaluate `vertical` on parent scope

Closes #849.