added mainWrapper and some css fixes