implemented page switching instead of popups