Support different screen sizes.