Implement responsive layout.