Update layout for Tablet and Mobile.