redefined layout

finalizing changes to layout and sytles