major update to layout and used css in an appropriate manner