Keep track of back/forward in history movements