Why is the word "sleep" used in the term "sleep over"?

dscn1344
dscn1345
dscn1346
DSCN1345.JPG