add translate for scrolling (update array with coordinat)