moved much layout response to css