update layout and css
fixed upstream errors from my own stupidity