update some changes to tabs and pagination from chapstick master