refactor a selected_object_shift