Prevent full page refresh on navigation.