use flexbox for vertically centered printing #862
revamped and greatly simplified the layout of .slides