refactor(tabs): adds support for non-fixed tabs

Closes #825.
Closes #460.
Good call with the while loop.