     }
     
     override func viewDidLayoutSubviews() {
-        if(UIScreen.main.bounds.size.width < UIScreen.main.bounds.size.height){
+        if(UIScreen.main.bounds.size.width < UIScreen.main.bounds.size.height) {
             // Keyboard is in Portrait
             let screenSize: CGRect = UIScreen.main.bounds
             selectionDisplay.frame = CGRect(x: 0, y: 0, width: screenSize.width, height: 216)

        view.addGestureRecognizer(swipeRight)
        view.addGestureRecognizer(tap)
        view.addGestureRecognizer(longPress)
        isGyroAvailable()
    }
    

        
        let tap = UITapGestureRecognizer(target: self, action: #selector(insertSelectedCharacter (_:)))
        let longPress = UILongPressGestureRecognizer(target: self, action: #selector(pressEnter))
        let pinch = UIPinchGestureRecognizer(target: self, action: #selector(stopSpeaking))
        
        view.addGestureRecognizer(swipeDown)
        view.addGestureRecognizer(swipeUp)
