moving of kinematic and dyanmic object with mouse prototype