Bug fixes when navigating between pages in the snapped view.