adjusted layout for smaller screens