adjust figure position