further css fixes and optimizations