Following the adjudicatory hearing, custody pending the dispositional hearing shall be determined in accordance with RSA 169-D:13.