adjust the position of figures