added more calculated properties to the UIView extension