fixed format and integrate x bounce to move
Y bounce also works