NewsAmber Portwood’s past behavior played significant role in judge’s decision to revoke custody of son James