update layout for responsiveness