Vertically center DOM elements without CSS hacks.