refactor(tabs): moves tabs definition to top of `postLink` method