switched layout in html and prettified with css