Making navigation from pages