First cut at modifying the DOM and reacting to resize events