changed large-screensize layout to medium-screensize layout