updated layout for tablets