Navigation control switches between views.