practice for creating a scrollable tabmenu, dynamic in size. PHP creates random amount of tabs and sends JSON to the client from which the menu is then built