changed layout, dynamic height, JS for resizing, min widths