Added dragging scrollbars

Cleaned some of the Match code
Improved checking for '/' at beginning and '.' at end
Added dragging