Fixed panel order for horizontal pages when --rotate is enabled