Use standardized screen sizes

Use CGRectGetWidth and CGRectGetHeight functions for standardized
screen sizes, as recommended by Apple.