Switching pages without wasting another network request