Better page handling for a single page site