Adjustments to CSS to handle resizing