sets minWidth and height for smaller screens