     override func layoutSubviews() {
         print(self.frame)
         self.textLayer.frame = self.bounds
-        self.textLayer.frame.size.width = 500
+        self.textLayer.frame.size.width = self.textLayer.preferredFrameSize().width
     }
     
     /*

        }
    }
    
    var textSize: CGSize? {
        get {
            return self.textLayer.preferredFrameSize()
        }

    */
    func beginScrolling() {
        let bounds = self.bounds
        let size = textSize
        guard size.width > bounds.width && self.scrollSpeed > 0 else {
            return
        }
        let moveAmount = (size.width - bounds.width)
