Simplify layout structure and css.