realize push state, pop state of history, and treating links by atlant
a little indent