Added scroll saving and visit history