 			}
 		}
 		// Set background frame
-		shadowView.frame.size = sz
+		view.frame.size = sz
 		// Set frames
-		var r:CGRect
-		if view.superview != nil {
-			// View is showing, position at center of screen
-			r = CGRect(x:(sz.width-kWindowWidth)/2, y:(sz.height-kWindowHeight)/2, width: kWindowWidth, height: kWindowHeight)
-		} else {
-			// View is not visible, position outside screen bounds
-			r = CGRect(x:(sz.width-kWindowWidth)/2, y:-kWindowHeight, width: kWindowWidth, height: kWindowHeight)
-		}
-		view.frame = r
-		contentView.frame = CGRect(x: 0, y: kCircleHeight / 4, width: kWindowWidth, height: kWindowHeight)
-		circleViewBackground.frame = CGRect(x: kWindowWidth / 2 - kCircleHeightBackground / 2, y: kCircleBackgroundTopPosition, width: kCircleHeightBackground, height: kCircleHeightBackground)
-		circleViewBackground.layer.cornerRadius = circleViewBackground.frame.size.height / 2
-		circleView.frame = CGRect(x: kWindowWidth / 2 - kCircleHeight / 2, y: kCircleTopPosition, width: kCircleHeight, height: kCircleHeight)
-		circleView.layer.cornerRadius = circleView.frame.size.height / 2
-		circleIconImageView.frame = CGRect(x: kCircleHeight / 2 - kCircleIconHeight / 2, y: kCircleHeight / 2 - kCircleIconHeight / 2, width: kCircleIconHeight, height: kCircleIconHeight)
-		labelTitle.frame = CGRect(x:12, y:kCircleHeight / 2 + 12, width: kWindowWidth - 24, height:40)
-		viewText.frame = CGRect(x:12, y:74, width: kWindowWidth - 24, height:kTextHeight)
-		// Text fiels
-		var y = 74.0 + kTextHeight + 14.0
+		var x = (sz.width - kWindowWidth) / 2
+		var y = (sz.height - kWindowHeight -  (kCircleHeight / 8)) / 2
+		contentView.frame = CGRect(x:x, y:y, width:kWindowWidth, height:kWindowHeight)
+		y -= kCircleHeightBackground * 0.6
+		x = (sz.width - kCircleHeightBackground) / 2
+		circleBG.frame = CGRect(x:x, y:y, width:kCircleHeightBackground, height:kCircleHeightBackground)
+		// Subtitle
+		y = kTitleTop + kTitleHeight
+		viewText.frame = CGRect(x:12, y:y, width: kWindowWidth - 24, height:kTextHeight)
+		// Text fields
+		y += kTextHeight + 14.0
 		for txt in inputs {
 			txt.frame = CGRect(x:12, y:y, width:kWindowWidth - 24, height:30)
 			txt.layer.cornerRadius = 3

        rootViewController = vc
		// Add subviews
		rootViewController.addChildViewController(self)
		shadowView.frame = vc.view.bounds
        rootViewController.view.addSubview(shadowView)
        rootViewController.view.addSubview(view)
		
        // Alert colour/icon

        
        // Animate in the alert view
        UIView.animateWithDuration(0.2, animations: {
				self.view.frame.origin.y = self.rootViewController.view.center.y - 100
				self.view.alpha = 1
            }, completion: { finished in
