make centering work across multiple blocks