change previous y offset when enabled