fix for page switching bug with pageInteractionMode