Last year we could only get a Y flight, I had the same issue and took down our two carry on cases, laid a folded blanket over them and it was the perfect height. Did it both ways and the crew just said they need to go in the locker if the seatbelt sign went on.
Both the kiddos got some sleep.