Moved scrolling logic and note opening into a plugin called Scroller.