rewrote layout for mobile-first