working drag function on image