update css for better grid layout