add pointer
it can jump to the next window
it can jump to the previous window