Made the rest of the plugin code have the right #if
Made scroll widget able to scroll on click and drag.