change the way of arrow movement