Add responsive behavior to layout