Moved reverse filter to filter.js, clean up in main view.