             .takeWhile({ (slide:Int) -> Bool in
                 return slide < self.doc?.pagesCount
             })
-            .takeUntil( pressesSubject )
-    
-        
-        self.fullpage = true
-        
-        _playPauseSlideShow = playSlides.doOnCompleted{
-            
-            self._playPauseSlideShow?.dispose()
-            self._playPauseSlideShow = nil
-            
+            .takeUntil( pressesSubject.filter { (press:UIPress) -> Bool in
+                press.type != UIPressType.PlayPause
+            })
+            .doOnCompleted{
+                self._playPauseSlideShow?.dispose()
+                self._playPauseSlideShow = nil
             }
             .subscribeNext { (slide:Int) in
                 

    override func pressesBegan(presses: Set<UIPress>, withEvent event: UIPressesEvent?) {
        print("view.pressesBegan")

        guard let press = presses.first else {
            super.pressesBegan(presses, withEvent: event)
            return
        }

        pressesSubject.on( .Next(press) )
        super.pressesBegan(presses, withEvent: event)
        
    }
    
    override func pressesEnded(presses: Set<UIPress>, withEvent event: UIPressesEvent?) {
        print("view.pressesEnded")
        super.pressesEnded(presses, withEvent: event)
    }
    

    override func viewDidLoad() {
        super.viewDidLoad()

        //let playPauseTap = UITapGestureRecognizer(target: self, action: #selector(playPauseSlideShow))
        //playPauseTap.allowedPressTypes = [UIPressType.PlayPause.rawValue]
        //view.addGestureRecognizer(playPauseTap)
        
        self.setupSettingsBar()
        self.setupPointer()
