Retains layout of first panel on mobile sizes.