Simplified layout code by using UIView+Geometry.