Fixing the pagination within tabs