             photoItem.enabled = false
         }
 
-        imageView.contentMode = .ScaleAspectFill
+        imageView.contentMode = .ScaleAspectFit
 
         view.sendSubviewToBack(imageView)
     }


    func keyboardWillShow(notification: NSNotification) {
        if bottomTextField.isFirstResponder() {
            if viewOrigin == 0.0 {
                viewOrigin = self.view.frame.origin.y
            }
            self.view.frame.origin.y -= getKeyboardHeight(notification)
        }
    }

    func keyboardWillHide(notification: NSNotification) {
        self.view.frame.origin.y = 0
    }

    func getKeyboardHeight(notification: NSNotification) -> CGFloat {

        let picker = UIImagePickerController()
        picker.delegate = self
        picker.sourceType = .Camera
        presentViewController(picker, animated: true, completion: nil)
    }

    func albumTapped(sender: UIBarButtonItem) {
        let picker = UIImagePickerController()
        picker.delegate = self
        picker.sourceType = .SavedPhotosAlbum
        presentViewController(picker, animated: true, completion: nil)
    }

    func imagePickerController(picker: UIImagePickerController, didFinishPickingMediaWithInfo info: [String : AnyObject]) {
        let selectedImage = info[UIImagePickerControllerOriginalImage] as! UIImage

        imageView.image = selectedImage
        meme.originalImage = selectedImage

        dismissViewControllerAnimated(true, completion: nil)
