rearrange code. navigate video