implemented navigation between popups