updated pattern to move based on offset stage position