Re-optimized to support multiple screen sizes.