Added usage of CGRectGetWidth and CGRectGetHeight to SOLMainViewController