Make gistdeck work for any viewport size and fix vertical centering.