implementing responsive layout