I'm looking for book Young Adult fantasy from 70s.
A girl is transported back in time to England. She can stay there as long as she doesn't fall asleep. She is in a boarding school. She manages to stay back in time by sleeping with a hairbrush under her back so when she rolls over, it wakes her up.