Added mouse click based motion