fixing css layout bugs