Moved dragging code to own file

drag class now only on web