Change layout for medium devices.