Fix page refresh back to last page.