         self.requestPosts(["offset" : self.topOffset]) { (response: AnyObject!, error: NSError!) -> Void in
             if let e = error {
                 println(e)
+                self.loadingTop = false
             } else {
                 let posts = self.postsFromJSON(JSON(response))
 

                self.requestPosts(["offset" : self.topOffset + self.bottomOffset + 20]) { (response: AnyObject!, error: NSError!) -> Void in
                    if let e = error {
                        println(e)
                    } else {
                        let posts = self.postsFromJSON(JSON(response)).filter { post in
                            return post.id < lastPost.id

                }
            }
        }

        self.loadingTop = false
        self.loadingBottom = false

        self.tableView.reloadData()
    }
    
