remand — detention of a criminal defendant after charges are filed until a trial