         var thePage: SKZoomingScrollView = SKZoomingScrollView()
         for page in visiblePages {
             if (page.tag - pageIndexTagOffset) == index {
-               thePage = page
-               break
+                thePage = page
+                break
             }
         }
         return thePage

            return areControlsHidden()
        }
    }

    // MARK: - setting of delete button
    
    private func setSettingDeleteButton() {
        let bundle = NSBundle(forClass: SKPhotoBrowser.self)

        if lastIndex > numberOfPhotos - 1 {
            lastIndex = numberOfPhotos - 1
        }
        
        for var index = firstIndex; index <= lastIndex; index++ {
            if isDisplayingPageForIndex(index) {
                continue
