Page history implemented correctly