rewrite most of the plugin to fix jumping over closed folds