Update UI to center switch and to be valid HTML5.