use flexbox for vertically centered printing #862