add drag n dropped element to redux state, using splice to insert it in the correct place