Better back button handling with hashed page numbers.