Tweaked DOM structure and CSS to be more flexible when adding UI
elements.