better handling for smaller screens