Molecular dynamics studies of slow dynamics in random media: Type A-B and reentrant transitions