Delete unused xhtml pages and optimise the timeline