makes links between pages work