refactor(tabs): reorganize, fix focus on pagination change

Closes #252