got really ugly version of dragging working