fixing the header and woking more with layout of the main page