Laying has always been past tense "That day I lay in bed for hours" or transitive "I lay the books down". Chickens also could be laying in bed, if eggs are coming out of them. Lying has always been intransitive "I was lying in bed". But nowadays, "I was laying in bed" is almost all I see.