Flipping over is a condition caused by what's commonly called wry neck or star gazing and is very much a symptom of vitamin deficiency.. This link indicates thiamine (covered under B complex suggested by previous poster) and E.
https://blog.meyerhatchery.com/2017/08/wry-neck-in-chickens/
The...