creating move queue on click