With the prepositions в, на, and под, you have to use Accusative when motion is involved, and Prepositional or Instrumental, when describing location. With мљжду, you always use Instrumental.
Use Instrumental with мљжду, for motion as well as location.
Ћн положќл письмћ под словђрь (Acc.). He put the letter under the dictionary.
Письмћ лежќт под словарём (Inst.). The letter is lying under the dictionary.
Ћн положќл письмћ мљжду словарїми (Inst.). He put the letter between the dictionaries.
Письмћ лежќт мљжду словарїми (Inst.). The letter is lying between the dictionaries.