         })
     }
     
-    private func swContentPageDraw (targetView: UIView, index: Int, maxIndex: Int, lastOffset: CGFloat, drawCallback: () -> Void) {
+    private func swContentPageDraw (targetView: UIView, index: Int, maxIndex: Int, drawCallback: () -> Void) {
         
         // set up split frame of super view
-        var splitFrame = CGRectMake(0, CGFloat(index) * targetView.frame.size.height, targetView.bounds.size.width, targetView.frame.size.height)
+        let splitFrame = CGRectMake(0, CGFloat(index) * targetView.frame.size.height, targetView.bounds.size.width, targetView.frame.size.height)
         // set up webview frame
-        self.frame = CGRectMake(0, -(CGFloat(index) * targetView.frame.size.height), targetView.bounds.size.width, (CGFloat(index + 1) * targetView.frame.size.height))
-        
-        if (index == maxIndex) {
-            splitFrame = CGRectMake(0, CGFloat(index) * targetView.frame.size.height - lastOffset, targetView.bounds.size.width,  targetView.frame.size.height)
-        }
+        var myFrame = self.frame
+        myFrame.origin.y = -(CGFloat(index) * targetView.frame.size.height)
+        self.frame = myFrame
         
         dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(0.3 * Double(NSEC_PER_SEC))), dispatch_get_main_queue()) { () -> Void in
             targetView.drawViewHierarchyInRect(splitFrame, afterScreenUpdates: true)
             
             if index < maxIndex {
-                self.swContentPageDraw(targetView, index: index + 1, maxIndex: maxIndex, lastOffset: lastOffset, drawCallback: drawCallback)
+                self.swContentPageDraw(targetView, index: index + 1, maxIndex: maxIndex, drawCallback: drawCallback)
             }else{
                 drawCallback()
             }

    private func swContentCaptureWithoutOffset(completionHandler:(capturedImage: UIImage?) -> Void) {
        let containerView  = UIView(frame: self.bounds)
        
        let lastOffset = self.offsetForLastView()
        
        let bakFrame     = self.frame
        let bakSuperView = self.superview
        let bakIndex     = self.superview?.subviews.indexOf(self)

            }
        }
    }
}
