init responsive layout