Responsive layout on DOM load