Switch pages

The selectors to switch between pages now works.