drag and rotate and sync implemented