implement responsive layout