Or make the window taller. Your stack is saved.
Tap a pancake to turn it over together with every pancake above it: that part lands upside down, in reverse order. Sort each stack widest at the bottom. Five stacks a day. Par is the fewest flips possible and scores 1,000; each extra flip costs 200. Undo counts as a flip.