refactor(tabs) - code improvements for pagination and demos