add support for page history