Handle middle-of-the-page case without using a glue. Using a glue may cause a spurious empty page if the multi-switch is at the end of the flow, with no satisfying way of fixing that. Patch by Seifeddine Dridi