disable/enable selection when moving