That's not self.scroll_type you're looking at. It's a local var.