Adjust layout for mobile device.