changed currentView by visiblePage